package com.ruoyi.jeeplus.modules.screen.frontdesk.screen_VideoStream.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

/**
 * @author 刘奥旸
 * @version 1.0
 */
@Mapper
public interface Frontdesk_cameraMapper {

    String selectCameraIdByStationId(String stationId);;

    int updateTokenAndCreatedAt(@Param("stationId") String stationId, @Param("token") String token);

    String selectTokenByStationId(@Param("stationId") String stationId);

//   更新final_url
    int updateFinalUrlByStationId(@Param("stationId") String stationId, @Param("finalUrl") String finalUrl);

    String getFinalUrlByStationId(@Param("stationId") String stationId);

}
